package cc.mrbird.febs.accounting.dto.detailCost;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class TreeDTO {
    private Long id;
    private Long parentId;
    private Long moduleId;
    private String name;
    private String title;
    private String code;
    private String attributes;
    private String href;
    private String icon;
    private String state;
    private JSONObject data;
    private Boolean hasChild = false;
    private Boolean hasParent = false;
    private Boolean checked = false;
    private Boolean spread = true;
    private Boolean disabled = false;
    private Boolean flag;
    private List<TreeDTO> children = new ArrayList<>();
    private Integer permissionId;
}
